package com.zr.vo.dispatch;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.zr.vo.BaseVo;
import com.zr.vo.car.CarInfo;

import java.util.Date;

public class DispatchMaintenance extends BaseVo {
    private Integer id;

    private String mid;

    private String carNumber;

    private String mtType;

    private String mtAddress;

    private String mtContent;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date mtPlanTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date mtActuralTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date mtCompleteTime;

    private String status;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date modifyTime;


    private CarInfo carInfo;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getMid() {
        return mid;
    }

    public void setMid(String mid) {
        this.mid = mid == null ? null : mid.trim();
    }

    public String getCarNumber() {
        return carNumber;
    }

    public void setCarNumber(String carNumber) {
        this.carNumber = carNumber == null ? null : carNumber.trim();
    }

    public String getMtType() {
        return mtType;
    }

    public void setMtType(String mtType) {
        this.mtType = mtType == null ? null : mtType.trim();
    }

    public String getMtAddress() {
        return mtAddress;
    }

    public void setMtAddress(String mtAddress) {
        this.mtAddress = mtAddress == null ? null : mtAddress.trim();
    }

    public String getMtContent() {
        return mtContent;
    }

    public void setMtContent(String mtContent) {
        this.mtContent = mtContent == null ? null : mtContent.trim();
    }

    public Date getMtPlanTime() {
        return mtPlanTime;
    }

    public void setMtPlanTime(Date mtPlanTime) {
        this.mtPlanTime = mtPlanTime;
    }

    public Date getMtActuralTime() {
        return mtActuralTime;
    }

    public void setMtActuralTime(Date mtActuralTime) {
        this.mtActuralTime = mtActuralTime;
    }

    public Date getMtCompleteTime() {
        return mtCompleteTime;
    }

    public void setMtCompleteTime(Date mtCompleteTime) {
        this.mtCompleteTime = mtCompleteTime;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status == null ? null : status.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    public CarInfo getCarInfo() {
        return carInfo;
    }

    public void setCarInfo(CarInfo carInfo) {
        this.carInfo = carInfo;
    }
}